home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)Z / (A)Z7.ADF / C / xref / xrfd.c < prev    next >
C/C++ Source or Header  |  1986-10-31  |  1KB  |  40 lines

  1.  
  2. /*
  3.  *                      ***************
  4.  *                      * X R F D . C *
  5.  *                      ***************
  6.  *
  7.  * This file contains global externals and tables used by the C xrf'er.
  8.  *
  9.  * Version 1.5           3-Jul-80       Added RT-11 compatibility.
  10.  * Version 1.6        10-Jul-80 MM    Added new stuff
  11.  * Version 1.7        22-Jul-80 MM    For fwild() stuff
  12.  */
  13.  
  14. #include <stdio.h>
  15. #include "xrf.h"
  16.  
  17. FILE *src;              /* Source file pointer */
  18. FILE *lst;              /* List file pointer */
  19. char *src_arg;        /* Pointer to source file name argument */
  20. char *lst_arg;        /* Pointer to list file name argument */
  21. char src_name[40];    /* Source file name */
  22. char lst_name[40];    /* List file name */
  23.  
  24. int  lineno = 0;          /* Current source line number */
  25. int  linpg = 0;            /* Line-in-page count */
  26. int  rperline = (LWIDTH - 16) / RSIZE;
  27.  
  28. char pghead[LWIDTH+1];
  29.  
  30. char scanbf[LWIDTH+1];  /* Source line scan buffer */
  31. char *scanp;            /* Scan pointer */
  32.  
  33. char idbuf[NCPS+1];     /* Ident. string buffer */
  34.  
  35. struct idt *root;       /* ID tree root */
  36. long time_of_day;    /* For unix flavored systems    */
  37.  
  38. int debug;        /* Debug flag */
  39.  
  40.